package com.sctvcloud.renhe.http;

import java.io.Serializable;

/**
 * Created by panxd on 2016/8/31.
 */
public class NetResponseObjectArray<T> extends NetResponseBase implements Serializable {
    private static final long serialVersionUID = -8350123456433855153L;
    private ListObj<T> data;

    public ListObj<T> getData() {
        return data;
    }

    public void setData(ListObj<T> data) {
        this.data = data;
    }

    public void whenSucdoOthers(NetResponseObjectArray<T> t) {
        super.whenSucdoOthers(t);
    }

    public boolean isDataValued(){
        return data!=null && data.size()>0;
    }

    @Override
    public String toString() {
        return "NetResponseJsonArray{" +
                super.toString() + ", data=" + data +
                "} ";
    }
}
